package com.example.xymarket.cim.http;

import okhttp3.RequestBody;
import retrofit2.Call;
import retrofit2.http.Body;
import retrofit2.http.Field;
import retrofit2.http.FormUrlEncoded;
import retrofit2.http.Header;
import retrofit2.http.Headers;
import retrofit2.http.POST;

public interface MessageService {
    @POST("/api/message/send")
    Call<Void> send(@Body RequestBody body,
                    @Header("Authorization")String token);
}